﻿ALTER TABLE [dbo].[DocumentInOD]
    ADD CONSTRAINT [FK_DocumentInOD_OrderDiplom] FOREIGN KEY ([ODId]) REFERENCES [dbo].[OrderDiplom] ([id]) ON DELETE CASCADE ON UPDATE CASCADE;



